package com.raptor.trustworthy.server.model;

/**
 * 定时任务模型
 *
 * @Author renhuan
 * @Date 2021-03-27 15:47
 **/
public class ScheduleJob {

  /** 任务id ,自增长*/
  private Long id;
  /** 任务名称 */
  private String jobName;
  /** 任务分组 */
  private String jobGroup;
  /** 任务状态 0禁用 1启用 */
  private String state;
  /** 任务运行时间表达式 */
  private String cronExpression;
  /** 任务描述 */
  private String description;
  /** 执行任务类名 */
  private String className;
  /** 执行任务方法 */
  private String method;
  /** 操作员工号 */
  private Long staffId;
  /** 更新时间 */
  private String updateTime;
  /** 下次执行时间*/
  private String nextFireTime;

//  @Transient
//  private String runtime;
  private String remark;


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }


  public String getMethod() {
    return method;
  }

  public void setMethod(String method) {
    this.method = method;
  }

  public Long getStaffId() {
    return staffId;
  }

  public void setStaffId(Long staffId) {
    this.staffId = staffId;
  }

  public String getJobName() {
    return jobName;
  }

  public void setJobName(String jobName) {
    this.jobName = jobName;
  }

  public String getJobGroup() {
    return jobGroup;
  }

  public void setJobGroup(String jobGroup) {
    this.jobGroup = jobGroup;
  }

  public String getCronExpression() {
    return cronExpression;
  }

  public void setCronExpression(String cronExpression) {
    this.cronExpression = cronExpression;
  }

  public String getClassName() {
    return className;
  }

  public void setClassName(String className) {
    this.className = className;
  }

  public String getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(String updateTime) {
    this.updateTime = updateTime;
  }

  public String getNextFireTime() {
    return nextFireTime;
  }

  public void setNextFireTime(String nextFireTime) {
    this.nextFireTime = nextFireTime;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }
}

